package com.sharp.socket.io.dao.msyql.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

/**
 * Title: ChatRoomFriend
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2022/6/17 14:35
 */
/**
    * 聊天室好友
    */
@ApiModel(value="com-sharp-socket-io-dao-msyql-entity-ChatRoomFriend")
@Data
@Table(name = "chat_room_friend")
public class ChatRoomFriend {
    /**
     * 好友id
     */
    @Column(name = "friend_id")
    @ApiModelProperty(value="好友id")
    private String friendId;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    @ApiModelProperty(value="用户id")
    private String userId;

    /**
     * 是否同意
     */
    @Column(name = "confirm")
    @ApiModelProperty(value="是否同意")
    private String confirm;

    /**
     * 处理时间
     */
    @Column(name = "confirm_at")
    @ApiModelProperty(value="处理时间")
    private Date confirmAt;

    /**
     * 创建时间
     */
    @Column(name = "create_at")
    @ApiModelProperty(value="创建时间")
    private Date createAt;

    /**
     * 更新时间
     */
    @Column(name = "update_at")
    @ApiModelProperty(value="更新时间")
    private Date updateAt;
}